package com.tiancheng.trade.merchant.convert;

import com.tiancheng.trade.commom.web.model.response.QueryAreaRes;
import com.tiancheng.trade.commom.web.model.response.QueryMccRes;
import com.tiancheng.trade.merchant.model.Area;
import com.tiancheng.trade.merchant.model.Industry;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper(componentModel = "spring")
public interface IndustryConvert {
    IndustryConvert INSTANCE = Mappers.getMapper(IndustryConvert.class);

    QueryMccRes convert(Industry industry);
    List<QueryMccRes> convert(List<Industry> industryList);

}
